package com.globalwave.eps.service;

import java.util.List;

import com.globalwave.common.ArrayOrderList;
import com.globalwave.common.ArrayPageList;
import com.globalwave.eps.entity.ElectricityProjectLine;
import com.globalwave.eps.entity.ElectricityProjectLineCriterion;

public interface ElectricityProjectLineService {
    
    public ArrayPageList<ElectricityProjectLine> query(
            ElectricityProjectLineCriterion criterion, 
            int pageIndex, 
            int pageSize,
            ArrayOrderList orderList) 
    throws Exception ;
    
    public List<ElectricityProjectLine> queryByProjectId(Long projectId) throws Exception ;
    
    public ElectricityProjectLine create(ElectricityProjectLine electricityProjectLine) throws Exception ;
    public void update(ElectricityProjectLine electricityProjectLine) throws Exception ;
    public void delete(ElectricityProjectLine electricityProjectLine) throws Exception ;
    public void deleteAll(Long[] ids) throws Exception ;
}
